#include <stdio.h>
#include <string.h>

#define MAXN 20
typedef enum {false, true} bool;

bool palindrome( char *s );

int main()
{
    char s[MAXN];

    scanf("%s", s);
    if ( palindrome(s)==true )
        printf("Yes\n");
    else
        printf("No\n");
    printf("%s\n", s);

    return 0;
}
bool palindrome(char *s)
{
    int a,b;
    int n=strlen(s);
    a=0,b=n-1;
    while(b>a)
    {
        if(s[a]!=s[b])
        {
            return true;
        }
        a++,b--;
    }
    return false;
}
